import { lazy } from "react";
import { Navigate, createBrowserRouter } from "react-router-dom";
const Home = lazy(() => import("../views/Home/Home"))
const router = createBrowserRouter([
    {
        path: "/",
        element: <Navigate to="/Home"></Navigate>
    },
    {
        path: "/Home",
        element: <Home></Home>
    }
])
export default router